package com.linkai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkai.dto.AdminBproductDto;
import com.linkai.dto.AdminBproductIndexDto;
import com.linkai.entity.Bproduct;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yamon
 * @since 2021-02-19
 */
@Repository
public interface BproductMapper extends BaseMapper<Bproduct> {

    List<AdminBproductIndexDto> selectAllProduct4AdminIndex();

    AdminBproductDto getOneAdminBackProduct(Integer id);
}
